Symmetric Phase Detector

ABSTRACT

In one embodiment, a circuit includes a first mixer cell and a second mixer cell that each have respectively a first cell input, a second cell input, and a cell output. The circuit includes a first circuit input configured to receive a first input signal having a first phase. The first circuit input is connected to the first cell input of the first mixer cell and the second cell input of the second mixer cell. The circuit includes a second circuit input configured to receive a second input signal having a second phase separated from the first phase by a nominal value. The second circuit input is connected to the second cell input of the first mixer cell and the first cell input of the second mixer cell.

RELATED APPLICATION

This application is a continuation under 35 U.S.C. §120 of U.S. patent application Ser. No. 12/511,340, filed 29 Jul. 2009, which claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Patent Application No. 61/084,467, filed 29 Jul. 2008, which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates generally to signal communication.

BACKGROUND

CDR circuits (or systems) are generally used to sample an incoming data signal, extract the clock from the incoming data signal, and retime the sampled data. A phase-locked loop (PLL)-based CDR circuit is a conventional type of CDR circuit. By way of example, in a conventional PLL based CDR, a phase detector compares the phase between input data bits from a serial input data stream and a clock signal from a voltage-controlled oscillator (VCO). In response to the phase difference between the input data and the clock, the phase detector generates signals UP and DN. A charge pump drives a current to or from a loop filter according to the UP and DN signals. The loop filter generates a control voltage V_(CTRL) for the VCO based on the UP and DN signals. The loop acts as a feedback control system that tracks the phase of input data stream with the phase of the clock that the loop generates. The dynamics of the loop are generally determined by the open loop gain and the location of open loop zeroes and poles (predominantly in the loop filter).

When multiple phases of a periodic signal are needed, such as with a clock signal used for clock and data recovery (CDR), a challenge is to accurately generate these multiple phases. Conventionally, delay-locked loops (DLL) and phase interpolators (PI) have been used to generate the needed phases in conjunction with conventional voltage-controlled oscillators. One problem with these devices is the accuracy obtained when generating phases having intermediate degree increments.

Various applications such as DLLs, 90 degree shifters, phase interpolators, and generators of adjustable clock phases require a high-speed phase detector whose output is zero for a 90 degree or other non-zero phase offset between inputs. The speed of conventional phase detectors, such as a phase and frequency detector (PFD) or an Alexander Detector, are limited by the speed of the flip-flops which are their integral parts. In addition, these conventional phase detectors are designed to output zero for nominal zero input phase offset, and are typically asymmetric in that the output of such phase detectors has a built-in phase offset between its inputs. The phase offset output from the phase detector typically cannot be compensated.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example CDR circuit.

FIG. 2 illustrates another example CDR circuit.

FIG. 3 illustrates an example half-rate CDR circuit.

FIG. 4 illustrates another example CDR circuit.

FIG. 5 illustrates an example quarter-rate CDR circuit.

FIG. 6 illustrate an example phase interpolator block.

FIG. 7 illustrates an example phase interpolator.

FIG. 8A illustrates an example phase detector.

FIG. 8B illustrates another example phase detector.

FIG. 9A illustrates a circuit schematic of an example Gilbert cell.

FIG. 9B illustrates a symbol of an example Gilbert cell equivalent to that of FIG. 7A.

FIG. 9C illustrates a phase characteristic of the example Gilbert cell of FIG. 7A.

FIG. 10A illustrates an example circuit arrangement of Gilbert cells.

FIG. 10B illustrates a phase characteristic of the example arrangement of FIG. 8A.

FIG. 11 illustrates an example phase detector circuit.

FIG. 12 illustrates an example phase detector circuit.

DESCRIPTION OF EXAMPLE EMBODIMENTS

Particular embodiments relate to a clock and data recovery (CDR) circuit. Particular embodiments relate to a CDR circuit that includes a phase interpolator integrated with a phase detector. Particular embodiments relate to the generation of an 8-phase clock signal from a 4-phase clock signal for use as a sampling clock signal in a 40 Gb/s quarter-rate CDR circuit. Particular embodiments relate to a 10 GHz phase interpolator for a 40 Gb/s CDR circuit. Particular embodiments relate to a phase detector that is symmetric with respect to the inputs to the phase detector. Particular embodiments relate to a high-speed phase detector for periodic input signals (e.g., clock signals). Particular embodiments relate to a phase detector having an output that is zero for a 90° or other non-zero phase offset between the inputs to the phase detector. Particular embodiments further relate to the use of parallel cross-coupled Gilbert cells for use in a phase detector. In particular embodiments, the signals described below are differential signals where appropriate. In particular embodiments, various signals described below are periodic signals, where appropriate.

FIG. 1 illustrates an example CDR circuit that includes a phase detector (PD) 102, a charge pump 104, a loop filter 106, and a voltage-controlled oscillator (VCO) 108, each of which may include one or more sub-circuits or sub-blocks. In particular embodiments, PD 102 receives as input one or more input data streams D_(in) as well as a multi-phase clock signal, VCO.Clk, from VCO 108. Here it should be noted that, in general, an m-phase clock signal actually includes m clock signals, each having different relative phase and each transmitted over, for example, a corresponding wire to PD 102. PD 102 is used to sample the data in the one or more input data streams D_(in) multiple times within each VCO.Clk clock cycle, whereas VCO 108 is used to generate the appropriate clock phases for the multi-phase signal VCO.Clk that control the timing of the sampling. In typical CDRs, the data is sampled twice per cycle: at the data transition point (edge sample) and at the middle of the cycle (center sample).

In particular embodiments, to relax the bandwidth requirements in PD 102 and VCO 108, the operating frequency of the CDR may be

$\frac{1}{n}$

of the data rate of D_(in), which requires that PD 102 receive multiple clock phases. By way of example, half-rate CDR architectures require four clock phases

(e.g., 0^(∘), 90^(∘)(π/2), 180^(∘)(π), and  270^(∘)(3π/2))

and quarter-rate CDR architectures require eight clock phases (e.g., 0°, 45°, 90°, 135°, 180°, 225°, 270°, and 315′). In general,

$\frac{1}{n}$

-rate CDR architectures require m=2×n clock phases. Furthermore, other CDR architectures may require more than two samples per clock cycle. By way of example, if j samples per clock cycle are required, then the corresponding

$\frac{1}{n}$

-rate CDR would require m=j×n clock phases. For purposes of simplified illustration of example embodiments, the following disclosure focuses on embodiments utilizing conventional CDRs with one edge and one center sample per cycle (m=2×n).

Generally, one requirement of a CDR is the capability to adjust the decision phase (i.e., the center sample time relative to the edge sample). In particular embodiments, this phase adjustment functionality may be implemented with the use of a phase interpolator (PI) block 210 connected between PD 102 and VCO 108, as illustrated in FIG. 2. A phase interpolator generally receives two input signals separated by a phase offset (e.g., 90°) and generates an output signal having a phase in between the phases of the two input signals depending on a control signal. In particular embodiments, PI block 210 receives as inputs an m-phase clock signal, VCO.Clk, generated from VCO 108 as well as a control input, phAdj, and produces an m-phase clock signal PI.Clk that is then fed to PD 102 for use in sampling the input data stream D_(in). The input phAdj determines the sign and magnitude of the phase adjustment.

FIG. 3 illustrates an example of a half-rate CDR circuit. The circuit of FIG. 3 is a special case of the circuit of FIG. 2 in which VCO 108 generates a 4-phase clock signal VCO.Clk. VCO.Clk includes clock signals φ₀, φ₉₀, φ₁₈₀, and φ₂₇₀, having phases of approximately 0°, 90°, 180°, and 270°, respectively (note that there is a 90° phase difference between the individual signals). PI block 210 receives the clock signals φ₀, φ₉₀, φ₁₈₀, and φ₂₇₀ and outputs four phase-interpolated clock signals Φ₀, Φ₉₀, Φ₁₈₀, and Φ₂₇₀, which have phases of approximately 0°, 90°, 180°, and 270°, respectively. In particular embodiments, the four phase-interpolated clock signals may have phase differences with respect to each other that are not 90°. PI block 210 may skew phases (such as, for example, Φ₉₀ and Φ₂₇₀ with respect to Φ₀ and Φ₁₈₀) to support phase adjustment capability, as described above. Note that since VCO.Clk represents differential signals, φ₀ and φ₁₈₀ may represent one differential pair, φ₉₀ and φ₂₇₀ may represent one differential pair, Φ₀ and Φ₁₈₀ may represent one differential pair, and Φ₉₀ and Φ₂₇₀ may represent one differential pair. Thus, VCO.Clk may actually include two differential signals in practice.

High data rate CDRs are often implemented as quarter-rate architectures with inductor-capacitor (LC)-based VCOs. By way of example, high data rates may refer to data rates equal or greater than 10 Gb/s, equal or greater than 20 Gb/s, or equal or greater than 40 Gb/s. Quarter-rate CDRs generally require eight or more clock phases, the generation and delivery of which present numerous difficulties using LC-based VCOs, partly due to the number of inductors required. LC-based VCOs can relatively easily produce two or four clock phases, but become difficult to deal with when more phases (e.g., 8, 12 or more) are required.

In particular embodiments, the generation of the extra intermediate phases needed for, by way of example, quarter-rate CDRs, is combined with the phase adjustment requirement using a single PI block 410 as illustrated in FIG. 4. Particular embodiments use a low noise oscillator such as an LC-based VCO 102 as a k-phase clock generator to generate a k-phase clock signal (where k≧2) input to PI block 410. In particular embodiments, PI block 410 receives the k-phase clock signal from VCO 108 and produces an m-phase clock signal for use by phase detector 402, where m≠k (unlike previous conventional CDR architectures that produce the same number of phases as are received).

FIG. 5 illustrates an example embodiment of a quarter-rate CDR circuit. In the illustrated embodiment, VCO 508 produces a 4-phase clock signal including clock signals φ₀, φ₉₀, φ₁₈₀, and φ₂₇₀, having phases of approximately 0°, 90°, 180°, and 270°, respectively. These four clock signals φ₀, φ₉₀, φ₁₈₀, and φ₂₇₀ are input to PI block 510, which, in the illustrated embodiment, outputs an 8-phase clock signal that includes clock signals Φ₀, Φ₉₀, Φ₁₈₀, and Φ₂₇₀, having phases of approximately 0°, 90°, 180°, and 270°, respectively, along with four additional intermediately-phased clock signals Φ₄₅, Φ₁₃₅, Φ₂₂₅, and Φ₃₁₅, having phases of approximately 45°, 135°, 225°, and 315°, respectively. Although this example describes 4-to-8 phase generation, the present disclosure is intended to cover the generation of m=k+l phases from a k-phase clock signal. Using PI block 510 to generate the additional intermediately-phases clock signals reduces/relaxes the requirements of VCO 508 in terms of the number of clock phases output from VCO 508. In particular embodiments, PI block 510 may also be used to adjust the decision clocks based on the phAdj control input by introducing a static phase offset. Again, it should be noted that, in particular embodiments, since VCO.Clk represents differential signals, φ₀ and φ₁₈₀ may represent one differential pair, φ₉₀ and φ₂₇₀ may represent one differential pair, Φ₀ and Φ₁₈₀ may represent one differential pair, and Φ₉₀ and Φ₂₇₀ may represent one differential pair, Φ₄₅ and Φ₂₂₅ may represent one differential pair, and Φ₁₃₅ and Φ₃₁₅ may represent one differential pair. Thus, VCO.Clk may actually include two differential signals in practice while PI.Clk may actually include four differential signals in practice.

FIG. 6 illustrates an example PI block 610 suitable for use as PI block 410 or 510. In particular embodiments, PI block 610 includes one or more phase interpolators (PIs) 612 that receive as input a k-phase clock signal and output an m-phase clock signal. In the illustrated embodiment, PI block 610 additionally includes one or more phase detectors 614 (hereinafter PD 614) in a feedback loop with PI or PIs 612 (hereinafter PI 612). As illustrated in FIG. 7, PI 612 may include two differential pairs 740 and 742 driven by appropriate input signals (e.g., Φ₀ and Φ₉₀ or Φ₉₀ and Φ₁₈₀). The output of PI 612 is the current summation of the differential pair, which is converted to voltage through a resistor. Thus, an approximate desired phase is achieved as a weighted sum of the two input signals. The ratio of the tail current will determine the phase and the sum of the tail currents will determine the amplitude of the output signal. In particular embodiments, the inputs to differential pairs 740 and 742 are the gates of the transistors in the differential pairs 740 and 742 and the outputs are the wires tapping the outputs of the transistors. As an example and not by way of limitation, input signal Φ₀ may go the gate of the illustrated left transistor in differential pair 740; input signal Φ₁₈₀ may go the gate of the illustrated right transistor in differential pair 740; input signal Φ₉₀ may go the gate of the illustrated left transistor in differential pair 742; and input signal Φ₂₇₀ may go the gate of the illustrated right transistor in differential pair 742. Output signal Φ₂₂₅ may come from the illustrated vertical wire at the illustrated bottom of differential pair 740, and output signal Φ₄₅ may come from the illustrated vertical wire at the illustrated bottom of differential pair 742.

In particular embodiments, PI 612 takes as input the 4-phase clock signal including clock signals φ₀, φ₉₀, φ₁₈₀, and φ₂₇₀, having phases of approximately 0°, 90°, 180°, and 270°, respectively, from VCO 508. Using these signals, PI 612 outputs an 8-phase clock signal that includes clock signals Φ₀, Φ₉₀, Φ₁₈₀, and Φ₂₇₀, having phases of approximately 0°, 90°, 180°, and 270°, respectively, along with four additional intermediately-phased clock signals Φ₄₅, Φ₁₃₅, Φ₂₂₅, and Φ₃₁₅, having phases of approximately 45°, 135°, 225°, and 315°, respectively. As described above, PD 614 provides feedback to PI 612 in the form of error (or control) signals that are used by PI 612 to adjust the 8-phase clock signal output. By way of example, a first PI 612 may use the input signals Φ₀ and Φ₉₀ to generate the output signal Φ₄₅, while other PIs 612 in parallel with the first PI 612 generate the other intermediately-phase clock signals, respectively.

FIG. 8A illustrates an example phase detector 802 suitable for use as PD 614 and/or PDs 402 or 502. In the illustrated embodiment, PD 802 includes a first PD input that receives (during operation) a first input signal V_(in1), a second PD input that receives (during operation) a second input signal V_(in2), and a third PD input that receives (during operation) a third input signal V_(in3). Note that each of the described inputs, and those described below, may actually include two inputs: one for the described signal and one for the corresponding complement (since the signals are generally differential). In particular embodiments, input signal V_(in1) is a first clock signal output by PI 612, V_(in2) is a second clock signal output by PI 612, and V_(in3) is a third clock signal output by PI 612. In particular embodiments, the third clock signal V_(in3) may be referred to as the target phase signal. In particular embodiments, PD 802 includes a first mixer cell (or circuit/block) 820 and a second mixer cell (or circuit/block) 822. In the illustrated embodiment, first mixer cell 820 includes a first MC input, a second MC input, and a first MC output while second mixer cell 822 includes a third MC input, a fourth MC input, and a second MC output. In the illustrated embodiment, the first PD input is connected to the first MC input, the second PD input is connected to the third MC input, and the third PD input is connected to the second MC input and the fourth MC input.

In particular embodiments, PD 802 further includes an adder 824 that receives the first and second MC output signals and adds the first and second MC output signals to produce a summed output signal. In particular embodiments, PD 802 additionally includes an integrator 826 that filters the summed output signal to produce an integrated (e.g., DC) output signal that represents the PD output signal V_(out) output over the PD output. In the embodiment illustrated in FIG. 6, the PD output signal V_(out) represents an error signal that is then input to PI 612 and used to adjust the phase of the input signal V_(in3).

In particular embodiments, first mixer cell 820 is a multiplying mixer cell and second mixer cell 822 is a multiplying mixer cell. In more particular embodiments, first mixer cell 820 is a Gilbert cell and second mixer cell 822 is a Gilbert cell. As those of skill in the art may appreciate, a Gilbert cell is an electronic multiplying mixer. By way of reference, the output current of a Gilbert cell is an accurate multiplication of the (differential) base currents of both inputs. FIG. 9A illustrates a circuit schematic of an example Gilbert cell having inputs for receiving two differential signals in₁ (the complement of in₁ is denoted as in₁ ) and in₂ (the complement of in₂ is denoted as in₂ ). FIG. 9B illustrates an accepted equivalent symbol for a Gilbert cell, while FIG. 9C illustrates the value of the output differential signal I_(out)− I_(out) as a function of the phase offset Δφ(in₁−in₂) between the differential input signals in₁ and in₂.

In even more particular embodiments, first mixer cell 820 includes a first Gilbert cell 830 and a second Gilbert cell 832 cross-coupled in parallel, while second mixer cell 822 includes a third Gilbert cell 834 and a fourth Gilbert cell 836 cross-coupled in parallel, as illustrated in FIG. 8B. In the illustrated embodiment, a first input of first Gilbert cell 830 receives input signal V_(in1) while a second input of first Gilbert cell 830 receives input signal V_(in2). A first input of second Gilbert cell 832 receives input signal V_(in2) while a second input of second Gilbert cell 832 receives input signal V_(in1). The outputs of first and second Gilbert cells 830 and 832 may be connected to provide the first MC output signal, as shown in the illustrate embodiment. Similarly, in the illustrated embodiment, a first input of third Gilbert cell 834 receives input signal V_(in3) while a second input of third Gilbert cell 834 receives input signal V_(in2). A first input of fourth Gilbert cell 836 receives input signal V_(in2) while a second input of fourth Gilbert cell 836 receives input signal V_(in3). The outputs of third and fourth Gilbert cells 834 and 836 may be connected to provide the second MC output signal, as shown in the illustrate embodiment.

In this way, the first MC output signal output from first mixer cell 820 is symmetric with respect to the inputs V_(in1) and V_(in2) and the second MC output signal output from second mixer cell 822 is symmetric with respect to the inputs V_(in2) and V_(in3). More specifically, the delay between the first input of any Gilbert cell and the output of the Gilbert cell is generally different than the delay between the second input of the Gilbert cell and the output of the Gilbert cell. This results in a static phase offset in the output signal output from the Gilbert cell. However, by cross-coupling two Gilbert cells in parallel as illustrated in each of the mixer cells 820 and 822 of FIG. 8B, the static phase offset is cancelled to at least a first approximation. FIGS. 10A and 10B illustrates a circuit that includes two Gilbert cells cross-coupled in parallel (as in each mixer cell 820 and 822) as well as the circuit's phase characteristic, respectively. The circuit shown in FIG. 10A may itself be used as a phase detector. As illustrated in FIG. 10A, the inputs to the two Gilbert cells 1002 and 1004 are interchanged: input in is connected to the input A of Gilbert cell 1002 and to input B of Gilbert cell 1004; input in₂ is connected to the input B of Gilbert cell 1002 and to input A of Gilbert cell 1004. The interchanging of the inputs effectively interpolates the outputs of the Gilbert cells and results in zero input offset to a first degree of approximation. Such an arrangement minimizes the phase offset (the phase delay between the inputs for which the output of the arrangement is still equal to zero).

The output, V_(out), of PD 802 represents an error signal that is proportional to the difference in phase between the phase of V_(in3) and the average of the phases of V_(in1) and V_(in2). By way of example, assume V_(in1) represents Φ₀, V_(in2) represents Φ₉₀, and V_(in3) represents Φ₄₅. In this example, V_(out) represent an error signal that is proportional to the difference between the phase of Φ₄₅, which is approximately 45° (as noted above, VCOs have difficulty generating intermediately-phased signals such as 45°, and as such the phase of Φ₄₅ is only roughly equal to) 45°, and the average of the phases of Φ₀ and Φ₉₀, which is approximately 45° since the phase of Φ₀ and Φ₉₀ are approximately 0° and 90°, respectively. The error signal, V_(out), is then fed to PI 612, which then adjusts the phase of Φ₄₅ to eliminate the phase difference (which would then result in a zero-valued error signal), which results in a Φ₄₅ having a phase truer to 45°. In this manner, PD 614 provides a feedback loop to PI 612 to compensate for the inaccuracy of PI 612.

In particular embodiments, PD 614 also utilizes this circuit and process to adjust or verify the other intermediately-phased signals Φ₁₃₅, Φ₂₂₅, and Φ₃₁₅ generated by PIs 612. In particular embodiments, PD 614 generates four error signals V_(out) in parallel to adjust or verify signals Φ₄₅, Φ₁₃₅, Φ₂₂₅, and Φ₃₁₅. By way of example, to adjust or verify Φ₁₃₅, PD 614 may receive Φ₉₀ as V_(in1), Φ₁₃₅ as V_(in2), and Φ₁₈₀ as V_(in3). To adjust or verify Φ₂₂₅, PD 614 may receive Φ₁₈₀ as V_(in1), Φ₂₂₅ as V_(in2), and Φ₂₇₀ as V_(in3). To adjust or verify Φ₃₁₅, PD 614 may receive Φ₂₇₀ as V_(in1), Φ₃₁₅ as V_(in2) and Φ₀ as V_(in3). Note that since the clock signals are differential signals, the signals may be inverted to obtain signals having 180° phase offsets.

It should also be appreciated that this circuit and method may be used to adjust any of the signals Φ₀, Φ₄₅, Φ₉₀, Φ₁₃₅, Φ₁₈₀, Φ₂₂₅, Φ₂₇₀, and Φ₃₁₅, as well as any other signal have any desired intermediate phase in between any of these signals. By way of example, PD 614 may receive Φ₀ as V_(in1), an additional signal 6 having phase in the range between Φ₀ and Φ₄₅ as V_(in2), and Φ₄₅ as V_(in3). After a number of iterations, δ will have a phase of approximately 22.5°. Additionally, by adding deliberate offsets in the feedback path an arbitrary phase (other than, for example, 45° and 135°) may be created. By way of example, the phases offset may either be introduced as a weighted difference of the tail currents of the multipliers (Gilbert cells) as illustrated in FIG. 8A or by injecting a current on the output of the Gilbert cell.

Referring back to FIG. 10A, in alternate embodiments (potentially unrelated to those described above), the current output, I_(out), of the double Gilbert cell phase detector illustrated in FIG. 10A can be sensed by resistors to transform the output current to an output voltage and subsequently filtered. Alternatively, FIG. 11 shows an implementation of the double Gilbert cell phase detector in a negative feedback configuration. In such a configuration, the current outputs of the first and second Gilbert cells 1102 and 1104 can be mirrored and summed in a single node used to modulate the phase between the inputs in₁ and in₂. Such a configuration forces the phase difference between the inputs to 90°, so that the net current in the V_(out) node is zero. A large capacitor or another form of a loop filter may be needed in such a configuration to filter the transient response of the phase detector and to govern the dynamic behavior of the loop. If used in a feedback loop, as illustrated in FIG. 11, a VCO, delay line, phase interpolator, or other suitable device can be used to control the phase difference between the two input signals in₁ and in₂, as represented by box 1110.

FIG. 12 illustrates another embodiment that involves a circuit for adjusting the phase characteristic externally. By way of example, in cases where a phase difference between the inputs in₁ and in₂ other than 90° is desired, such as for generating boundary and data clock phases in a CDR with a phase adjustment requirement, additional offset current sources 1212 and 1214 that sink or source current to or from the phase detector may be used to offset its phase characteristic. The offset current sources 1212 and 1214 may be externally controlled and can be connected either at the output of the Gilbert cells 1102 and 1104, or at the voltage summing node V_(out), as illustrated in FIG. 12.

The present disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. 

1. A circuit comprising: a first mixer cell and a second mixer cell, each having respectively a first cell input, a second cell input, and a cell output; a first circuit input configured to receive a first input signal having a first phase, the first circuit input being connected to the first cell input of the first mixer cell and the second cell input of the second mixer cell; a second circuit input configured to receive a second input signal having a second phase separated from the first phase by a nominal value, the second circuit input being connected to the second cell input of the first mixer cell and the first cell input of the second mixer cell; and a circuit output configured to receive a combined output from respective cell outputs of the first mixer cell and the second mixer cell and output the combined output, the combined output having a current that is proportional to an error offset from the nominal value.
 2. The circuit of claim 1, wherein the nominal value is 90 degrees.
 3. The circuit of claim 1, wherein each of the first mixer cell and the second mixer cell comprises a multiplying mixer cell.
 4. The circuit of claim 3, wherein the multiplying mixer cell comprises a Gilbert cell.
 5. The circuit of claim 1, wherein the circuit is a phase detector.
 6. The circuit of claim 1, further comprising a current mirror configured to mirror respective currents from cell outputs of the first mixer cell and the second mixer cell, wherein the combined output being a sum of the respective mirrored currents.
 7. The circuit of claim 1, further comprising one or more current sources configured to adjust the combined output.
 8. A method comprising: receiving at a first circuit input a first input signal having a first phase, the first circuit input being connect to a first cell input of a first mixer cell and a second cell input of a second mixer cell, the first mixer cell and the second mixer cell each having respectively a first cell input, a second cell input and a cell output; receiving at a second circuit input a second input signal having a second phase separated from the first phase by a nominal value, the second circuit input being connected to the second cell input of the first mixer cell and the first cell input of the second mixer cell; and receiving at a circuit output a combined output from respective cell outputs of the first mixer cell and the second mixer cell and output the combined output, the combined output having a current that is proportional to an error offset from the nominal value.
 9. The method of claim 8, wherein the nominal value is 90 degrees.
 10. The method of claim 8, wherein each of the first mixer cell and the second mixer cell comprises a multiplying mixer cell.
 11. The method of claim 10, wherein the multiplying mixer cell comprises a Gilbert cell.
 12. The method of claim 8, further comprising mirroring by a current mirror respective currents from cell outputs of the first mixer cell and the second mixer cell, wherein the combined output being a sum of the respective mirrored currents.
 13. The method of claim 8, further comprising adjusting by one or more current sources the combined output. 